# $Id$
# Contributor: Willey Chen <chwilley@gmail.com>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=ttf-hannom
pkgver=2005
pkgrel=5
pkgdesc='Chinese and Vietnamese TrueType fonts'
url='http://vietunicode.sourceforge.net/fonts/fonts_hannom.html'
license=('custom:non-profit')
arch=('any')
depends=('fontconfig' 'xorg-fonts-encodings')
source=("https://downloads.sourceforge.net/project/vietunicode/hannom/hannom%20v${pkgver}/hannomH.zip"
        'README')
sha256sums=('428a31ff62e26dc33080789f8d49c39ac529dbfdbcfd50825f78cbd0903a3936'
            'df3e54959e5295b2d13857cf75a3f04817b280b2c4e227ca887394ca6d8b0bb7')

install=install

package() {
	cd "${srcdir}"
	install -d "${pkgdir}"/usr/share/fonts/TTF
	install -m644 *.ttf "${pkgdir}/usr/share/fonts/TTF"
	install -Dm644 README "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
